package com.xxx.system.service;


import com.xxx.system.domain.Employee;
import com.xxx.system.query.EmployeeQuery;

import java.util.List;

public interface IEmployeeService {
    //新增
    void addEmployee(Employee employee);
    //修改
    void updateEmployee(Employee employee);
    //删除
    void deteleById(Long id);
    //查询单个
    Employee findOne(Long id);
    //查询所有
    List<Employee> findAll();

    List<Employee> queryPage(EmployeeQuery employeeQuery);

    void deleteEmployeeByIds(Long[] ids);
}
